Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom reference lines #36

Closed
wants to merge 3 commits into from

Conversation

vhf
Copy link
Contributor

@vhf vhf commented Mar 6, 2024

As discussed on a different channel here's a suggestion for custom reference lines. I also added tests with my use case for this feature, the implementation can serve as example for others but happy to make a simpler test case, maybe you'd rather have something like what I added to the refline documentation.

@@ -41,7 +42,8 @@ defmodule SparklineSvg.MixProject do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: :test, runtime: false}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition, thanks!

@abdelaz3r
Copy link
Owner

Thank you very much, this is a great contribution!

As discussed on a different channel, I'll close that PR and open a new one with additionnal documentation.

@abdelaz3r abdelaz3r closed this Mar 7, 2024
@vhf vhf deleted the feat/custom-ref-lines branch March 7, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants